//
// Decompiled with: Decompiler.NET, Version=1.3.1.18439, Culture=neutral, PublicKeyToken=null, Version: 1.3.1.18439
// Decompilation Started at: 3/15/2009 10:34:26 PM
// Copyright 2003 - 2004, Jungle Creatures, Inc., All Rights Reserved. 
// Written by Jonathan Pierce, Email: support@junglecreatures.com
//

namespace PatientManagement

{
		
		#region Namespace Import Declarations
		
			using System.Collections;
			using System.ComponentModel;
			using System.Data;
			using System.Diagnostics;
			using System.Globalization;
			using System.IO;
			using System;
			using System.Reflection;
			using System.Runtime.Serialization;
			using System.Text;
			using System.Xml.Schema;
			using System.Xml;
			
		#endregion
		
	[System.Serializable()]
	[System.ComponentModel.ToolboxItemAttribute (true)]
	[System.Diagnostics.DebuggerStepThroughAttribute ()]
	[System.ComponentModel.DesignerCategoryAttribute ("code")]
	public class dsDonThuoc : DataSet
	
	{
		
		#region Fields
			private vw_DoctorPrescriptionDataTable tablevw_DoctorPrescription;
		#endregion
		
		#region Nested Types
		
			[System.Diagnostics.DebuggerStepThroughAttribute ()]
			// [System.Reflection.DefaultMemberAttribute ("Item")]
			public class vw_DoctorPrescriptionDataTable : DataTable, IEnumerable
			
			{
				
				#region Fields
					private DataColumn columnCachDung;
					private DataColumn columnclrDoctorPrescription;
					private DataColumn columnclrExaminationDate;
					private DataColumn columnclrExaminationTimes;
					private DataColumn columnclrFollowUpExaminationDate;
					private DataColumn columnclrISN;
					private DataColumn columnclrMedicalAdvice;
					private DataColumn columnclrPathologicalSigns;
					private DataColumn columnclrSkill;
					private DataColumn columnCuUong;
					private DataColumn columnDonVi;
					private DataColumn columnempID;
					private DataColumn columnempISN;
					private DataColumn columnempName;
					private DataColumn columnGhiChu;
					private DataColumn columninvExaminationPayment;
					private DataColumn columninvISN;
					private DataColumn columninvMedicinePayment;
					private DataColumn columninvMedicineSkillPayment;
					private DataColumn columninvSurgeryPayment;
					private DataColumn columnLan;
					private DataColumn columnLanXit;
					private DataColumn columnMaThuocTon;
					private DataColumn columnMaXuatKho;
					private DataColumn columnmexStatus;
					private DataColumn columnNgayUong;
					private DataColumn columnNgayXuatThuoc;
					private DataColumn columnpatAddress;
					private DataColumn columnpatAge;
					private DataColumn columnpatBirthDate;
					private DataColumn columnpatID;
					private DataColumn columnpatISN;
					private DataColumn columnpatName;
					private DataColumn columnpatSex;
					private DataColumn columnplsISN;
					private DataColumn columnpltISN;
					private DataColumn columnpltName;
					private DataColumn columnpolISN;
					private DataColumn columnSoLuong;
					private DataColumn columnTenThuoc;
					public event dsDonThuoc.vw_DoctorPrescriptionRowChangeEventHandler vw_DoctorPrescriptionRowChanged;
					public event dsDonThuoc.vw_DoctorPrescriptionRowChangeEventHandler vw_DoctorPrescriptionRowChanging;
					public event dsDonThuoc.vw_DoctorPrescriptionRowChangeEventHandler vw_DoctorPrescriptionRowDeleted;
					public event dsDonThuoc.vw_DoctorPrescriptionRowChangeEventHandler vw_DoctorPrescriptionRowDeleting;
				#endregion
				
				#region Constructors
				
					internal vw_DoctorPrescriptionDataTable ()
						 : base ("vw_DoctorPrescription")
					
					{
						this.InitClass ();
						return;
					}
					
					
					internal vw_DoctorPrescriptionDataTable (DataTable table)
						 : base (table.TableName)
					
					{
						if (table.CaseSensitive == table.DataSet.CaseSensitive)
						{
							goto L_002B;
						}
						base.CaseSensitive = table.CaseSensitive;
						
					L_002B:
						
						{
						}
						if (table.Locale.ToString () == table.DataSet.Locale.ToString ())
						{
							goto L_0059;
						}
						base.Locale = table.Locale;
						
					L_0059:
						
						{
						}
						if (table.Namespace == table.DataSet.Namespace)
						{
							goto L_007D;
						}
						base.Namespace = table.Namespace;
						
					L_007D:
						
						{
						}
						base.Prefix = table.Prefix;
						base.MinimumCapacity = table.MinimumCapacity;
						base.DisplayExpression = table.DisplayExpression;
						return;
					}
					
				#endregion
				
				#region Properties
				
					internal DataColumn CachDungColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnCachDung;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn clrDoctorPrescriptionColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnclrDoctorPrescription;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn clrExaminationDateColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnclrExaminationDate;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn clrExaminationTimesColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnclrExaminationTimes;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn clrFollowUpExaminationDateColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnclrFollowUpExaminationDate;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn clrISNColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnclrISN;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn clrMedicalAdviceColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnclrMedicalAdvice;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn clrPathologicalSignsColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnclrPathologicalSigns;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn clrSkillColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnclrSkill;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					[System.ComponentModel.BrowsableAttribute (false)]
					public int Count
					
					{
						get
						{
							int i;
							i = base.Rows.Count;
							goto L_000E;
							
						L_000E:
							
							{
							}
							return i;
						}
					}
					
					
					internal DataColumn CuUongColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnCuUong;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn DonViColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnDonVi;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn empIDColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnempID;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn empISNColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnempISN;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn empNameColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnempName;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn GhiChuColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnGhiChu;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn invExaminationPaymentColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columninvExaminationPayment;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn invISNColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columninvISN;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn invMedicinePaymentColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columninvMedicinePayment;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn invMedicineSkillPaymentColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columninvMedicineSkillPayment;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn invSurgeryPaymentColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columninvSurgeryPayment;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					public dsDonThuoc.vw_DoctorPrescriptionRow this[int index]
					
					{
						get
						{
							dsDonThuoc.vw_DoctorPrescriptionRow theVw_DoctorPrescriptionRow;
							theVw_DoctorPrescriptionRow = ((dsDonThuoc.vw_DoctorPrescriptionRow) base.Rows[index]);
							goto L_0014;
							
						L_0014:
							
							{
							}
							return theVw_DoctorPrescriptionRow;
						}
					}
					
					
					internal DataColumn LanColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnLan;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn LanXitColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnLanXit;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn MaThuocTonColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnMaThuocTon;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn MaXuatKhoColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnMaXuatKho;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn mexStatusColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnmexStatus;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn NgayUongColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnNgayUong;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn NgayXuatThuocColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnNgayXuatThuoc;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn patAddressColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnpatAddress;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn patAgeColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnpatAge;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn patBirthDateColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnpatBirthDate;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn patIDColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnpatID;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn patISNColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnpatISN;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn patNameColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnpatName;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn patSexColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnpatSex;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn plsISNColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnplsISN;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn pltISNColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnpltISN;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn pltNameColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnpltName;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn polISNColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnpolISN;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn SoLuongColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnSoLuong;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
					
					internal DataColumn TenThuocColumn
					
					{
						get
						{
							DataColumn theDataColumn;
							theDataColumn = this.columnTenThuoc;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataColumn;
						}
					}
					
				#endregion
				
				#region Methods
				
					public dsDonThuoc.vw_DoctorPrescriptionRow Addvw_DoctorPrescriptionRow (int clrISN, int clrExaminationTimes, int polISN, int empISN, string empID, string empName, int pltISN, string pltName, int plsISN, string clrPathologicalSigns, DateTime patBirthDate, string patName, int patISN, DateTime clrExaminationDate, string patID, byte patAge, string patSex, string patAddress, string clrSkill, decimal invExaminationPayment, decimal invMedicinePayment, decimal invMedicineSkillPayment, decimal invSurgeryPayment, int invISN, string clrMedicalAdvice, DateTime clrFollowUpExaminationDate, string clrDoctorPrescription, string TenThuoc, int NgayUong, int Lan, string CuUong, int MaXuatKho, int MaThuocTon, string CachDung, int SoLuong, byte DonVi, DateTime NgayXuatThuoc, string LanXit, string GhiChu, byte mexStatus)
					
					{
						dsDonThuoc.vw_DoctorPrescriptionRow theVw_DoctorPrescriptionRow;
						dsDonThuoc.vw_DoctorPrescriptionRow theVw_DoctorPrescriptionRow2;
						object[] theObjectArray;
						theVw_DoctorPrescriptionRow = ((dsDonThuoc.vw_DoctorPrescriptionRow) base.NewRow ());
						theObjectArray = new object[40];
						theObjectArray[0] = clrISN;
						theObjectArray[1] = clrExaminationTimes;
						theObjectArray[2] = polISN;
						theObjectArray[3] = empISN;
						theObjectArray[4] = empID;
						theObjectArray[5] = empName;
						theObjectArray[6] = pltISN;
						theObjectArray[7] = pltName;
						theObjectArray[8] = plsISN;
						theObjectArray[9] = clrPathologicalSigns;
						theObjectArray[10] = patBirthDate;
						theObjectArray[11] = patName;
						theObjectArray[12] = patISN;
						theObjectArray[13] = clrExaminationDate;
						theObjectArray[14] = patID;
						theObjectArray[15] = patAge;
						theObjectArray[16] = patSex;
						theObjectArray[17] = patAddress;
						theObjectArray[18] = clrSkill;
						theObjectArray[19] = invExaminationPayment;
						theObjectArray[20] = invMedicinePayment;
						theObjectArray[21] = invMedicineSkillPayment;
						theObjectArray[22] = invSurgeryPayment;
						theObjectArray[23] = invISN;
						theObjectArray[24] = clrMedicalAdvice;
						theObjectArray[25] = clrFollowUpExaminationDate;
						theObjectArray[26] = clrDoctorPrescription;
						theObjectArray[27] = TenThuoc;
						theObjectArray[28] = NgayUong;
						theObjectArray[29] = Lan;
						theObjectArray[30] = CuUong;
						theObjectArray[31] = MaXuatKho;
						theObjectArray[32] = MaThuocTon;
						theObjectArray[33] = CachDung;
						theObjectArray[34] = SoLuong;
						theObjectArray[35] = DonVi;
						theObjectArray[36] = NgayXuatThuoc;
						theObjectArray[37] = LanXit;
						theObjectArray[38] = GhiChu;
						theObjectArray[39] = mexStatus;
						theVw_DoctorPrescriptionRow.ItemArray = theObjectArray;
						base.Rows.Add (((DataRow) theVw_DoctorPrescriptionRow));
						theVw_DoctorPrescriptionRow2 = theVw_DoctorPrescriptionRow;
						goto L_0187;
						
					L_0187:
						
						{
						}
						return theVw_DoctorPrescriptionRow2;
					}
					
					public void Addvw_DoctorPrescriptionRow (dsDonThuoc.vw_DoctorPrescriptionRow row)
					
					{
						base.Rows.Add (((DataRow) row));
						return;
					}
					
					public override DataTable Clone ()
					
					{
						dsDonThuoc.vw_DoctorPrescriptionDataTable theVw_DoctorPrescriptionDataTable;
						DataTable theDataTable;
						theVw_DoctorPrescriptionDataTable = ((dsDonThuoc.vw_DoctorPrescriptionDataTable) base.Clone ());
						theVw_DoctorPrescriptionDataTable.InitVars ();
						theDataTable = ((DataTable) theVw_DoctorPrescriptionDataTable);
						goto L_0016;
						
					L_0016:
						
						{
						}
						return theDataTable;
					}
					
					protected override DataTable CreateInstance ()
					
					{
						DataTable theDataTable;
						theDataTable = ((DataTable) new dsDonThuoc.vw_DoctorPrescriptionDataTable ());
						goto L_0008;
						
					L_0008:
						
						{
						}
						return theDataTable;
					}
					
					public virtual IEnumerator GetEnumerator ()
					
					{
						IEnumerator theIEnumerator;
						theIEnumerator = base.Rows.GetEnumerator ();
						goto L_000E;
						
					L_000E:
						
						{
						}
						return theIEnumerator;
					}
					
					protected override Type GetRowType ()
					
					{
						Type theType;
						theType = typeof (dsDonThuoc.vw_DoctorPrescriptionRow);
						goto L_000D;
						
					L_000D:
						
						{
						}
						return theType;
					}
					
					private void InitClass ()
					
					{
						this.columnclrISN = new DataColumn ("clrISN", typeof (int), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnclrISN);
						this.columnclrExaminationTimes = new DataColumn ("clrExaminationTimes", typeof (int), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnclrExaminationTimes);
						this.columnpolISN = new DataColumn ("polISN", typeof (int), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnpolISN);
						this.columnempISN = new DataColumn ("empISN", typeof (int), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnempISN);
						this.columnempID = new DataColumn ("empID", typeof (string), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnempID);
						this.columnempName = new DataColumn ("empName", typeof (string), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnempName);
						this.columnpltISN = new DataColumn ("pltISN", typeof (int), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnpltISN);
						this.columnpltName = new DataColumn ("pltName", typeof (string), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnpltName);
						this.columnplsISN = new DataColumn ("plsISN", typeof (int), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnplsISN);
						this.columnclrPathologicalSigns = new DataColumn ("clrPathologicalSigns", typeof (string), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnclrPathologicalSigns);
						this.columnpatBirthDate = new DataColumn ("patBirthDate", typeof (DateTime), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnpatBirthDate);
						this.columnpatName = new DataColumn ("patName", typeof (string), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnpatName);
						this.columnpatISN = new DataColumn ("patISN", typeof (int), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnpatISN);
						this.columnclrExaminationDate = new DataColumn ("clrExaminationDate", typeof (DateTime), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnclrExaminationDate);
						this.columnpatID = new DataColumn ("patID", typeof (string), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnpatID);
						this.columnpatAge = new DataColumn ("patAge", typeof (byte), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnpatAge);
						this.columnpatSex = new DataColumn ("patSex", typeof (string), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnpatSex);
						this.columnpatAddress = new DataColumn ("patAddress", typeof (string), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnpatAddress);
						this.columnclrSkill = new DataColumn ("clrSkill", typeof (string), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnclrSkill);
						this.columninvExaminationPayment = new DataColumn ("invExaminationPayment", typeof (decimal), ((string) null), MappingType.Element);
						base.Columns.Add (this.columninvExaminationPayment);
						this.columninvMedicinePayment = new DataColumn ("invMedicinePayment", typeof (decimal), ((string) null), MappingType.Element);
						base.Columns.Add (this.columninvMedicinePayment);
						this.columninvMedicineSkillPayment = new DataColumn ("invMedicineSkillPayment", typeof (decimal), ((string) null), MappingType.Element);
						base.Columns.Add (this.columninvMedicineSkillPayment);
						this.columninvSurgeryPayment = new DataColumn ("invSurgeryPayment", typeof (decimal), ((string) null), MappingType.Element);
						base.Columns.Add (this.columninvSurgeryPayment);
						this.columninvISN = new DataColumn ("invISN", typeof (int), ((string) null), MappingType.Element);
						base.Columns.Add (this.columninvISN);
						this.columnclrMedicalAdvice = new DataColumn ("clrMedicalAdvice", typeof (string), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnclrMedicalAdvice);
						this.columnclrFollowUpExaminationDate = new DataColumn ("clrFollowUpExaminationDate", typeof (DateTime), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnclrFollowUpExaminationDate);
						this.columnclrDoctorPrescription = new DataColumn ("clrDoctorPrescription", typeof (string), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnclrDoctorPrescription);
						this.columnTenThuoc = new DataColumn ("TenThuoc", typeof (string), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnTenThuoc);
						this.columnNgayUong = new DataColumn ("NgayUong", typeof (int), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnNgayUong);
						this.columnLan = new DataColumn ("Lan", typeof (int), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnLan);
						this.columnCuUong = new DataColumn ("CuUong", typeof (string), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnCuUong);
						this.columnMaXuatKho = new DataColumn ("MaXuatKho", typeof (int), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnMaXuatKho);
						this.columnMaThuocTon = new DataColumn ("MaThuocTon", typeof (int), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnMaThuocTon);
						this.columnCachDung = new DataColumn ("CachDung", typeof (string), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnCachDung);
						this.columnSoLuong = new DataColumn ("SoLuong", typeof (int), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnSoLuong);
						this.columnDonVi = new DataColumn ("DonVi", typeof (byte), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnDonVi);
						this.columnNgayXuatThuoc = new DataColumn ("NgayXuatThuoc", typeof (DateTime), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnNgayXuatThuoc);
						this.columnLanXit = new DataColumn ("LanXit", typeof (string), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnLanXit);
						this.columnGhiChu = new DataColumn ("GhiChu", typeof (string), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnGhiChu);
						this.columnmexStatus = new DataColumn ("mexStatus", typeof (byte), ((string) null), MappingType.Element);
						base.Columns.Add (this.columnmexStatus);
						return;
					}
					
					internal void InitVars ()
					
					{
						this.columnclrISN = base.Columns["clrISN"];
						this.columnclrExaminationTimes = base.Columns["clrExaminationTimes"];
						this.columnpolISN = base.Columns["polISN"];
						this.columnempISN = base.Columns["empISN"];
						this.columnempID = base.Columns["empID"];
						this.columnempName = base.Columns["empName"];
						this.columnpltISN = base.Columns["pltISN"];
						this.columnpltName = base.Columns["pltName"];
						this.columnplsISN = base.Columns["plsISN"];
						this.columnclrPathologicalSigns = base.Columns["clrPathologicalSigns"];
						this.columnpatBirthDate = base.Columns["patBirthDate"];
						this.columnpatName = base.Columns["patName"];
						this.columnpatISN = base.Columns["patISN"];
						this.columnclrExaminationDate = base.Columns["clrExaminationDate"];
						this.columnpatID = base.Columns["patID"];
						this.columnpatAge = base.Columns["patAge"];
						this.columnpatSex = base.Columns["patSex"];
						this.columnpatAddress = base.Columns["patAddress"];
						this.columnclrSkill = base.Columns["clrSkill"];
						this.columninvExaminationPayment = base.Columns["invExaminationPayment"];
						this.columninvMedicinePayment = base.Columns["invMedicinePayment"];
						this.columninvMedicineSkillPayment = base.Columns["invMedicineSkillPayment"];
						this.columninvSurgeryPayment = base.Columns["invSurgeryPayment"];
						this.columninvISN = base.Columns["invISN"];
						this.columnclrMedicalAdvice = base.Columns["clrMedicalAdvice"];
						this.columnclrFollowUpExaminationDate = base.Columns["clrFollowUpExaminationDate"];
						this.columnclrDoctorPrescription = base.Columns["clrDoctorPrescription"];
						this.columnTenThuoc = base.Columns["TenThuoc"];
						this.columnNgayUong = base.Columns["NgayUong"];
						this.columnLan = base.Columns["Lan"];
						this.columnCuUong = base.Columns["CuUong"];
						this.columnMaXuatKho = base.Columns["MaXuatKho"];
						this.columnMaThuocTon = base.Columns["MaThuocTon"];
						this.columnCachDung = base.Columns["CachDung"];
						this.columnSoLuong = base.Columns["SoLuong"];
						this.columnDonVi = base.Columns["DonVi"];
						this.columnNgayXuatThuoc = base.Columns["NgayXuatThuoc"];
						this.columnLanXit = base.Columns["LanXit"];
						this.columnGhiChu = base.Columns["GhiChu"];
						this.columnmexStatus = base.Columns["mexStatus"];
						return;
					}
					
					protected override DataRow NewRowFromBuilder (DataRowBuilder builder)
					
					{
						DataRow theDataRow;
						theDataRow = ((DataRow) new dsDonThuoc.vw_DoctorPrescriptionRow (builder));
						goto L_0009;
						
					L_0009:
						
						{
						}
						return theDataRow;
					}
					
					public dsDonThuoc.vw_DoctorPrescriptionRow Newvw_DoctorPrescriptionRow ()
					
					{
						dsDonThuoc.vw_DoctorPrescriptionRow theVw_DoctorPrescriptionRow;
						theVw_DoctorPrescriptionRow = ((dsDonThuoc.vw_DoctorPrescriptionRow) base.NewRow ());
						goto L_000E;
						
					L_000E:
						
						{
						}
						return theVw_DoctorPrescriptionRow;
					}
					
					protected override void OnRowChanged (DataRowChangeEventArgs e)
					
					{
						base.OnRowChanged (e);
						if (this.vw_DoctorPrescriptionRowChanged == null)
						{
							goto L_0031;
						}
						this.vw_DoctorPrescriptionRowChanged (this, new dsDonThuoc.vw_DoctorPrescriptionRowChangeEvent (((dsDonThuoc.vw_DoctorPrescriptionRow) e.Row), e.Action));
						
					L_0031:
						return;
					}
					
					protected override void OnRowChanging (DataRowChangeEventArgs e)
					
					{
						base.OnRowChanging (e);
						if (this.vw_DoctorPrescriptionRowChanging == null)
						{
							goto L_0031;
						}
						this.vw_DoctorPrescriptionRowChanging (this, new dsDonThuoc.vw_DoctorPrescriptionRowChangeEvent (((dsDonThuoc.vw_DoctorPrescriptionRow) e.Row), e.Action));
						
					L_0031:
						return;
					}
					
					protected override void OnRowDeleted (DataRowChangeEventArgs e)
					
					{
						base.OnRowDeleted (e);
						if (this.vw_DoctorPrescriptionRowDeleted == null)
						{
							goto L_0031;
						}
						this.vw_DoctorPrescriptionRowDeleted (this, new dsDonThuoc.vw_DoctorPrescriptionRowChangeEvent (((dsDonThuoc.vw_DoctorPrescriptionRow) e.Row), e.Action));
						
					L_0031:
						return;
					}
					
					protected override void OnRowDeleting (DataRowChangeEventArgs e)
					
					{
						base.OnRowDeleting (e);
						if (this.vw_DoctorPrescriptionRowDeleting == null)
						{
							goto L_0031;
						}
						this.vw_DoctorPrescriptionRowDeleting (this, new dsDonThuoc.vw_DoctorPrescriptionRowChangeEvent (((dsDonThuoc.vw_DoctorPrescriptionRow) e.Row), e.Action));
						
					L_0031:
						return;
					}
					
					public void Removevw_DoctorPrescriptionRow (dsDonThuoc.vw_DoctorPrescriptionRow row)
					
					{
						base.Rows.Remove (((DataRow) row));
						return;
					}
					
				#endregion
			}
			
			
			[System.Diagnostics.DebuggerStepThroughAttribute ()]
			public class vw_DoctorPrescriptionRow : DataRow
			
			{
				
				#region Fields
					private dsDonThuoc.vw_DoctorPrescriptionDataTable tablevw_DoctorPrescription;
				#endregion
				
				#region Constructors
				
					internal vw_DoctorPrescriptionRow (DataRowBuilder rb)
						 : base (rb)
					
					{
						this.tablevw_DoctorPrescription = ((dsDonThuoc.vw_DoctorPrescriptionDataTable) base.Table);
						return;
					}
					
				#endregion
				
				#region Properties
				
					public string CachDung
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							string theString;
							
						L_0000:
							try
							{
								theString = ((string) base[this.tablevw_DoctorPrescription.CachDungColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_0019:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0026:
							
							{
							}
							return theString;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.CachDungColumn] = value;
							return;
						}
					}
					
					
					public string clrDoctorPrescription
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							string theString;
							
						L_0000:
							try
							{
								theString = ((string) base[this.tablevw_DoctorPrescription.clrDoctorPrescriptionColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_0019:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0026:
							
							{
							}
							return theString;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.clrDoctorPrescriptionColumn] = value;
							return;
						}
					}
					
					
					public DateTime clrExaminationDate
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							DateTime theDateTime;
							
						L_0000:
							try
							{
								theDateTime = ((DateTime) base[this.tablevw_DoctorPrescription.clrExaminationDateColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_001E:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_002B:
							
							{
							}
							return theDateTime;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.clrExaminationDateColumn] = value;
							return;
						}
					}
					
					
					public int clrExaminationTimes
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							int i;
							
						L_0000:
							try
							{
								i = ((int) base[this.tablevw_DoctorPrescription.clrExaminationTimesColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_001A:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0027:
							
							{
							}
							return i;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.clrExaminationTimesColumn] = value;
							return;
						}
					}
					
					
					public DateTime clrFollowUpExaminationDate
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							DateTime theDateTime;
							
						L_0000:
							try
							{
								theDateTime = ((DateTime) base[this.tablevw_DoctorPrescription.clrFollowUpExaminationDateColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_001E:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_002B:
							
							{
							}
							return theDateTime;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.clrFollowUpExaminationDateColumn] = value;
							return;
						}
					}
					
					
					public int clrISN
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							int i;
							
						L_0000:
							try
							{
								i = ((int) base[this.tablevw_DoctorPrescription.clrISNColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_001A:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0027:
							
							{
							}
							return i;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.clrISNColumn] = value;
							return;
						}
					}
					
					
					public string clrMedicalAdvice
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							string theString;
							
						L_0000:
							try
							{
								theString = ((string) base[this.tablevw_DoctorPrescription.clrMedicalAdviceColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_0019:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0026:
							
							{
							}
							return theString;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.clrMedicalAdviceColumn] = value;
							return;
						}
					}
					
					
					public string clrPathologicalSigns
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							string theString;
							
						L_0000:
							try
							{
								theString = ((string) base[this.tablevw_DoctorPrescription.clrPathologicalSignsColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_0019:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0026:
							
							{
							}
							return theString;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.clrPathologicalSignsColumn] = value;
							return;
						}
					}
					
					
					public string clrSkill
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							string theString;
							
						L_0000:
							try
							{
								theString = ((string) base[this.tablevw_DoctorPrescription.clrSkillColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_0019:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0026:
							
							{
							}
							return theString;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.clrSkillColumn] = value;
							return;
						}
					}
					
					
					public string CuUong
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							string theString;
							
						L_0000:
							try
							{
								theString = ((string) base[this.tablevw_DoctorPrescription.CuUongColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_0019:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0026:
							
							{
							}
							return theString;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.CuUongColumn] = value;
							return;
						}
					}
					
					
					public byte DonVi
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							byte theByte;
							
						L_0000:
							try
							{
								theByte = ((byte) base[this.tablevw_DoctorPrescription.DonViColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_001A:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0027:
							
							{
							}
							return theByte;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.DonViColumn] = value;
							return;
						}
					}
					
					
					public string empID
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							string theString;
							
						L_0000:
							try
							{
								theString = ((string) base[this.tablevw_DoctorPrescription.empIDColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_0019:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0026:
							
							{
							}
							return theString;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.empIDColumn] = value;
							return;
						}
					}
					
					
					public int empISN
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							int i;
							
						L_0000:
							try
							{
								i = ((int) base[this.tablevw_DoctorPrescription.empISNColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_001A:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0027:
							
							{
							}
							return i;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.empISNColumn] = value;
							return;
						}
					}
					
					
					public string empName
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							string theString;
							
						L_0000:
							try
							{
								theString = ((string) base[this.tablevw_DoctorPrescription.empNameColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_0019:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0026:
							
							{
							}
							return theString;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.empNameColumn] = value;
							return;
						}
					}
					
					
					public string GhiChu
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							string theString;
							
						L_0000:
							try
							{
								theString = ((string) base[this.tablevw_DoctorPrescription.GhiChuColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_0019:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0026:
							
							{
							}
							return theString;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.GhiChuColumn] = value;
							return;
						}
					}
					
					
					public decimal invExaminationPayment
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							decimal theDecimal;
							
						L_0000:
							try
							{
								theDecimal = ((decimal) base[this.tablevw_DoctorPrescription.invExaminationPaymentColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_001E:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_002B:
							
							{
							}
							return theDecimal;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.invExaminationPaymentColumn] = value;
							return;
						}
					}
					
					
					public int invISN
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							int i;
							
						L_0000:
							try
							{
								i = ((int) base[this.tablevw_DoctorPrescription.invISNColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_001A:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0027:
							
							{
							}
							return i;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.invISNColumn] = value;
							return;
						}
					}
					
					
					public decimal invMedicinePayment
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							decimal theDecimal;
							
						L_0000:
							try
							{
								theDecimal = ((decimal) base[this.tablevw_DoctorPrescription.invMedicinePaymentColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_001E:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_002B:
							
							{
							}
							return theDecimal;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.invMedicinePaymentColumn] = value;
							return;
						}
					}
					
					
					public decimal invMedicineSkillPayment
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							decimal theDecimal;
							
						L_0000:
							try
							{
								theDecimal = ((decimal) base[this.tablevw_DoctorPrescription.invMedicineSkillPaymentColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_001E:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_002B:
							
							{
							}
							return theDecimal;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.invMedicineSkillPaymentColumn] = value;
							return;
						}
					}
					
					
					public decimal invSurgeryPayment
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							decimal theDecimal;
							
						L_0000:
							try
							{
								theDecimal = ((decimal) base[this.tablevw_DoctorPrescription.invSurgeryPaymentColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_001E:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_002B:
							
							{
							}
							return theDecimal;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.invSurgeryPaymentColumn] = value;
							return;
						}
					}
					
					
					public int Lan
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							int i;
							
						L_0000:
							try
							{
								i = ((int) base[this.tablevw_DoctorPrescription.LanColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_001A:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0027:
							
							{
							}
							return i;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.LanColumn] = value;
							return;
						}
					}
					
					
					public string LanXit
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							string theString;
							
						L_0000:
							try
							{
								theString = ((string) base[this.tablevw_DoctorPrescription.LanXitColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_0019:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0026:
							
							{
							}
							return theString;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.LanXitColumn] = value;
							return;
						}
					}
					
					
					public int MaThuocTon
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							int i;
							
						L_0000:
							try
							{
								i = ((int) base[this.tablevw_DoctorPrescription.MaThuocTonColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_001A:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0027:
							
							{
							}
							return i;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.MaThuocTonColumn] = value;
							return;
						}
					}
					
					
					public int MaXuatKho
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							int i;
							
						L_0000:
							try
							{
								i = ((int) base[this.tablevw_DoctorPrescription.MaXuatKhoColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_001A:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0027:
							
							{
							}
							return i;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.MaXuatKhoColumn] = value;
							return;
						}
					}
					
					
					public byte mexStatus
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							byte theByte;
							
						L_0000:
							try
							{
								theByte = ((byte) base[this.tablevw_DoctorPrescription.mexStatusColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_001A:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0027:
							
							{
							}
							return theByte;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.mexStatusColumn] = value;
							return;
						}
					}
					
					
					public int NgayUong
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							int i;
							
						L_0000:
							try
							{
								i = ((int) base[this.tablevw_DoctorPrescription.NgayUongColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_001A:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0027:
							
							{
							}
							return i;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.NgayUongColumn] = value;
							return;
						}
					}
					
					
					public DateTime NgayXuatThuoc
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							DateTime theDateTime;
							
						L_0000:
							try
							{
								theDateTime = ((DateTime) base[this.tablevw_DoctorPrescription.NgayXuatThuocColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_001E:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_002B:
							
							{
							}
							return theDateTime;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.NgayXuatThuocColumn] = value;
							return;
						}
					}
					
					
					public string patAddress
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							string theString;
							
						L_0000:
							try
							{
								theString = ((string) base[this.tablevw_DoctorPrescription.patAddressColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_0019:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0026:
							
							{
							}
							return theString;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.patAddressColumn] = value;
							return;
						}
					}
					
					
					public byte patAge
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							byte theByte;
							
						L_0000:
							try
							{
								theByte = ((byte) base[this.tablevw_DoctorPrescription.patAgeColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_001A:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0027:
							
							{
							}
							return theByte;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.patAgeColumn] = value;
							return;
						}
					}
					
					
					public DateTime patBirthDate
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							DateTime theDateTime;
							
						L_0000:
							try
							{
								theDateTime = ((DateTime) base[this.tablevw_DoctorPrescription.patBirthDateColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_001E:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_002B:
							
							{
							}
							return theDateTime;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.patBirthDateColumn] = value;
							return;
						}
					}
					
					
					public string patID
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							string theString;
							
						L_0000:
							try
							{
								theString = ((string) base[this.tablevw_DoctorPrescription.patIDColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_0019:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0026:
							
							{
							}
							return theString;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.patIDColumn] = value;
							return;
						}
					}
					
					
					public int patISN
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							int i;
							
						L_0000:
							try
							{
								i = ((int) base[this.tablevw_DoctorPrescription.patISNColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_001A:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0027:
							
							{
							}
							return i;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.patISNColumn] = value;
							return;
						}
					}
					
					
					public string patName
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							string theString;
							
						L_0000:
							try
							{
								theString = ((string) base[this.tablevw_DoctorPrescription.patNameColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_0019:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0026:
							
							{
							}
							return theString;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.patNameColumn] = value;
							return;
						}
					}
					
					
					public string patSex
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							string theString;
							
						L_0000:
							try
							{
								theString = ((string) base[this.tablevw_DoctorPrescription.patSexColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_0019:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0026:
							
							{
							}
							return theString;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.patSexColumn] = value;
							return;
						}
					}
					
					
					public int plsISN
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							int i;
							
						L_0000:
							try
							{
								i = ((int) base[this.tablevw_DoctorPrescription.plsISNColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_001A:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0027:
							
							{
							}
							return i;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.plsISNColumn] = value;
							return;
						}
					}
					
					
					public int pltISN
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							int i;
							
						L_0000:
							try
							{
								i = ((int) base[this.tablevw_DoctorPrescription.pltISNColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_001A:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0027:
							
							{
							}
							return i;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.pltISNColumn] = value;
							return;
						}
					}
					
					
					public string pltName
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							string theString;
							
						L_0000:
							try
							{
								theString = ((string) base[this.tablevw_DoctorPrescription.pltNameColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_0019:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0026:
							
							{
							}
							return theString;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.pltNameColumn] = value;
							return;
						}
					}
					
					
					public int polISN
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							int i;
							
						L_0000:
							try
							{
								i = ((int) base[this.tablevw_DoctorPrescription.polISNColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_001A:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0027:
							
							{
							}
							return i;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.polISNColumn] = value;
							return;
						}
					}
					
					
					public int SoLuong
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							int i;
							
						L_0000:
							try
							{
								i = ((int) base[this.tablevw_DoctorPrescription.SoLuongColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_001A:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0027:
							
							{
							}
							return i;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.SoLuongColumn] = value;
							return;
						}
					}
					
					
					public string TenThuoc
					
					{
						get
						{
							InvalidCastException theInvalidCastException;
							string theString;
							
						L_0000:
							try
							{
								theString = ((string) base[this.tablevw_DoctorPrescription.TenThuocColumn]);
							}
							catch (InvalidCastException theInvalidCastException2)
							{
								
							L_0019:
								theInvalidCastException = theInvalidCastException2;
								throw new StrongTypingException ("Cannot get value because it is DBNull.", ((Exception) theInvalidCastException));
							}
							
						L_0026:
							
							{
							}
							return theString;
						}
						set
						{
							base[this.tablevw_DoctorPrescription.TenThuocColumn] = value;
							return;
						}
					}
					
				#endregion
				
				#region Methods
				
					public bool IsCachDungNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.CachDungColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsclrDoctorPrescriptionNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.clrDoctorPrescriptionColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsclrExaminationDateNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.clrExaminationDateColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsclrExaminationTimesNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.clrExaminationTimesColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsclrFollowUpExaminationDateNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.clrFollowUpExaminationDateColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsclrISNNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.clrISNColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsclrMedicalAdviceNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.clrMedicalAdviceColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsclrPathologicalSignsNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.clrPathologicalSignsColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsclrSkillNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.clrSkillColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsCuUongNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.CuUongColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsDonViNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.DonViColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsempIDNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.empIDColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsempISNNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.empISNColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsempNameNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.empNameColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsGhiChuNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.GhiChuColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsinvExaminationPaymentNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.invExaminationPaymentColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsinvISNNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.invISNColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsinvMedicinePaymentNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.invMedicinePaymentColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsinvMedicineSkillPaymentNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.invMedicineSkillPaymentColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsinvSurgeryPaymentNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.invSurgeryPaymentColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsLanNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.LanColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsLanXitNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.LanXitColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsMaThuocTonNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.MaThuocTonColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsMaXuatKhoNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.MaXuatKhoColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsmexStatusNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.mexStatusColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsNgayUongNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.NgayUongColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsNgayXuatThuocNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.NgayXuatThuocColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IspatAddressNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.patAddressColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IspatAgeNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.patAgeColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IspatBirthDateNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.patBirthDateColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IspatIDNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.patIDColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IspatISNNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.patISNColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IspatNameNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.patNameColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IspatSexNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.patSexColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsplsISNNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.plsISNColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IspltISNNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.pltISNColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IspltNameNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.pltNameColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IspolISNNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.polISNColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsSoLuongNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.SoLuongColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public bool IsTenThuocNull ()
					
					{
						bool theBoolean;
						theBoolean = base.IsNull (this.tablevw_DoctorPrescription.TenThuocColumn);
						goto L_0014;
						
					L_0014:
						
						{
						}
						return theBoolean;
					}
					
					public void SetCachDungNull ()
					
					{
						base[this.tablevw_DoctorPrescription.CachDungColumn] = Convert.DBNull;
						return;
					}
					
					public void SetclrDoctorPrescriptionNull ()
					
					{
						base[this.tablevw_DoctorPrescription.clrDoctorPrescriptionColumn] = Convert.DBNull;
						return;
					}
					
					public void SetclrExaminationDateNull ()
					
					{
						base[this.tablevw_DoctorPrescription.clrExaminationDateColumn] = Convert.DBNull;
						return;
					}
					
					public void SetclrExaminationTimesNull ()
					
					{
						base[this.tablevw_DoctorPrescription.clrExaminationTimesColumn] = Convert.DBNull;
						return;
					}
					
					public void SetclrFollowUpExaminationDateNull ()
					
					{
						base[this.tablevw_DoctorPrescription.clrFollowUpExaminationDateColumn] = Convert.DBNull;
						return;
					}
					
					public void SetclrISNNull ()
					
					{
						base[this.tablevw_DoctorPrescription.clrISNColumn] = Convert.DBNull;
						return;
					}
					
					public void SetclrMedicalAdviceNull ()
					
					{
						base[this.tablevw_DoctorPrescription.clrMedicalAdviceColumn] = Convert.DBNull;
						return;
					}
					
					public void SetclrPathologicalSignsNull ()
					
					{
						base[this.tablevw_DoctorPrescription.clrPathologicalSignsColumn] = Convert.DBNull;
						return;
					}
					
					public void SetclrSkillNull ()
					
					{
						base[this.tablevw_DoctorPrescription.clrSkillColumn] = Convert.DBNull;
						return;
					}
					
					public void SetCuUongNull ()
					
					{
						base[this.tablevw_DoctorPrescription.CuUongColumn] = Convert.DBNull;
						return;
					}
					
					public void SetDonViNull ()
					
					{
						base[this.tablevw_DoctorPrescription.DonViColumn] = Convert.DBNull;
						return;
					}
					
					public void SetempIDNull ()
					
					{
						base[this.tablevw_DoctorPrescription.empIDColumn] = Convert.DBNull;
						return;
					}
					
					public void SetempISNNull ()
					
					{
						base[this.tablevw_DoctorPrescription.empISNColumn] = Convert.DBNull;
						return;
					}
					
					public void SetempNameNull ()
					
					{
						base[this.tablevw_DoctorPrescription.empNameColumn] = Convert.DBNull;
						return;
					}
					
					public void SetGhiChuNull ()
					
					{
						base[this.tablevw_DoctorPrescription.GhiChuColumn] = Convert.DBNull;
						return;
					}
					
					public void SetinvExaminationPaymentNull ()
					
					{
						base[this.tablevw_DoctorPrescription.invExaminationPaymentColumn] = Convert.DBNull;
						return;
					}
					
					public void SetinvISNNull ()
					
					{
						base[this.tablevw_DoctorPrescription.invISNColumn] = Convert.DBNull;
						return;
					}
					
					public void SetinvMedicinePaymentNull ()
					
					{
						base[this.tablevw_DoctorPrescription.invMedicinePaymentColumn] = Convert.DBNull;
						return;
					}
					
					public void SetinvMedicineSkillPaymentNull ()
					
					{
						base[this.tablevw_DoctorPrescription.invMedicineSkillPaymentColumn] = Convert.DBNull;
						return;
					}
					
					public void SetinvSurgeryPaymentNull ()
					
					{
						base[this.tablevw_DoctorPrescription.invSurgeryPaymentColumn] = Convert.DBNull;
						return;
					}
					
					public void SetLanNull ()
					
					{
						base[this.tablevw_DoctorPrescription.LanColumn] = Convert.DBNull;
						return;
					}
					
					public void SetLanXitNull ()
					
					{
						base[this.tablevw_DoctorPrescription.LanXitColumn] = Convert.DBNull;
						return;
					}
					
					public void SetMaThuocTonNull ()
					
					{
						base[this.tablevw_DoctorPrescription.MaThuocTonColumn] = Convert.DBNull;
						return;
					}
					
					public void SetMaXuatKhoNull ()
					
					{
						base[this.tablevw_DoctorPrescription.MaXuatKhoColumn] = Convert.DBNull;
						return;
					}
					
					public void SetmexStatusNull ()
					
					{
						base[this.tablevw_DoctorPrescription.mexStatusColumn] = Convert.DBNull;
						return;
					}
					
					public void SetNgayUongNull ()
					
					{
						base[this.tablevw_DoctorPrescription.NgayUongColumn] = Convert.DBNull;
						return;
					}
					
					public void SetNgayXuatThuocNull ()
					
					{
						base[this.tablevw_DoctorPrescription.NgayXuatThuocColumn] = Convert.DBNull;
						return;
					}
					
					public void SetpatAddressNull ()
					
					{
						base[this.tablevw_DoctorPrescription.patAddressColumn] = Convert.DBNull;
						return;
					}
					
					public void SetpatAgeNull ()
					
					{
						base[this.tablevw_DoctorPrescription.patAgeColumn] = Convert.DBNull;
						return;
					}
					
					public void SetpatBirthDateNull ()
					
					{
						base[this.tablevw_DoctorPrescription.patBirthDateColumn] = Convert.DBNull;
						return;
					}
					
					public void SetpatIDNull ()
					
					{
						base[this.tablevw_DoctorPrescription.patIDColumn] = Convert.DBNull;
						return;
					}
					
					public void SetpatISNNull ()
					
					{
						base[this.tablevw_DoctorPrescription.patISNColumn] = Convert.DBNull;
						return;
					}
					
					public void SetpatNameNull ()
					
					{
						base[this.tablevw_DoctorPrescription.patNameColumn] = Convert.DBNull;
						return;
					}
					
					public void SetpatSexNull ()
					
					{
						base[this.tablevw_DoctorPrescription.patSexColumn] = Convert.DBNull;
						return;
					}
					
					public void SetplsISNNull ()
					
					{
						base[this.tablevw_DoctorPrescription.plsISNColumn] = Convert.DBNull;
						return;
					}
					
					public void SetpltISNNull ()
					
					{
						base[this.tablevw_DoctorPrescription.pltISNColumn] = Convert.DBNull;
						return;
					}
					
					public void SetpltNameNull ()
					
					{
						base[this.tablevw_DoctorPrescription.pltNameColumn] = Convert.DBNull;
						return;
					}
					
					public void SetpolISNNull ()
					
					{
						base[this.tablevw_DoctorPrescription.polISNColumn] = Convert.DBNull;
						return;
					}
					
					public void SetSoLuongNull ()
					
					{
						base[this.tablevw_DoctorPrescription.SoLuongColumn] = Convert.DBNull;
						return;
					}
					
					public void SetTenThuocNull ()
					
					{
						base[this.tablevw_DoctorPrescription.TenThuocColumn] = Convert.DBNull;
						return;
					}
					
				#endregion
			}
			
			
			[System.Diagnostics.DebuggerStepThroughAttribute ()]
			public class vw_DoctorPrescriptionRowChangeEvent : EventArgs
			
			{
				
				#region Fields
					private DataRowAction eventAction;
					private dsDonThuoc.vw_DoctorPrescriptionRow eventRow;
				#endregion
				
				#region Constructors
				
					public vw_DoctorPrescriptionRowChangeEvent (dsDonThuoc.vw_DoctorPrescriptionRow row, DataRowAction action)
					
					{
						this.eventRow = row;
						this.eventAction = action;
						return;
					}
					
				#endregion
				
				#region Properties
				
					public DataRowAction Action
					
					{
						get
						{
							DataRowAction theDataRowAction;
							theDataRowAction = this.eventAction;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theDataRowAction;
						}
					}
					
					
					public dsDonThuoc.vw_DoctorPrescriptionRow Row
					
					{
						get
						{
							dsDonThuoc.vw_DoctorPrescriptionRow theVw_DoctorPrescriptionRow;
							theVw_DoctorPrescriptionRow = this.eventRow;
							goto L_0009;
							
						L_0009:
							
							{
							}
							return theVw_DoctorPrescriptionRow;
						}
					}
					
				#endregion
			}
			
			
			[System.Serializable()]
			public delegate void vw_DoctorPrescriptionRowChangeEventHandler (object sender, dsDonThuoc.vw_DoctorPrescriptionRowChangeEvent e);
		#endregion
		
		#region Constructors
		
			public dsDonThuoc ()
			
			{
				CollectionChangeEventHandler theCollectionChangeEventHandler;
				this.InitClass ();
				theCollectionChangeEventHandler = new CollectionChangeEventHandler (this.SchemaChanged);
				base.Tables.CollectionChanged += theCollectionChangeEventHandler;
				base.Relations.CollectionChanged += theCollectionChangeEventHandler;
				return;
			}
			
			
			protected dsDonThuoc (SerializationInfo info, StreamingContext context)
			
			{
				string theString;
				DataSet theDataSet;
				CollectionChangeEventHandler theCollectionChangeEventHandler;
				theString = ((string) info.GetValue ("XmlSchema", typeof (string)));
				if (theString == null)
				{
					goto L_00C9;
				}
				theDataSet = new DataSet ();
				theDataSet.ReadXmlSchema (((XmlReader) new XmlTextReader (((TextReader) new StringReader (theString)))));
				if (theDataSet.Tables["vw_DoctorPrescription"] == null)
				{
					goto L_0070;
				}
				base.Tables.Add (((DataTable) new vw_DoctorPrescriptionDataTable (theDataSet.Tables["vw_DoctorPrescription"])));
				
			L_0070:
				
				{
				}
				base.DataSetName = theDataSet.DataSetName;
				base.Prefix = theDataSet.Prefix;
				base.Namespace = theDataSet.Namespace;
				base.Locale = theDataSet.Locale;
				base.CaseSensitive = theDataSet.CaseSensitive;
				base.EnforceConstraints = theDataSet.EnforceConstraints;
				base.Merge (theDataSet, false, MissingSchemaAction.Add);
				this.InitVars ();
				goto L_00CF;
				
			L_00C9:
				
				{
				}
				this.InitClass ();
				
			L_00CF:
				
				{
				}
				base.GetSerializationData (info, context);
				theCollectionChangeEventHandler = new CollectionChangeEventHandler (this.SchemaChanged);
				base.Tables.CollectionChanged += theCollectionChangeEventHandler;
				base.Relations.CollectionChanged += theCollectionChangeEventHandler;
				return;
			}
			
		#endregion
		
		#region Properties
		
			[System.ComponentModel.DesignerSerializationVisibilityAttribute (DesignerSerializationVisibility.Content)]
			[System.ComponentModel.BrowsableAttribute (false)]
			public vw_DoctorPrescriptionDataTable vw_DoctorPrescription
			
			{
				get
				{
					vw_DoctorPrescriptionDataTable theVw_DoctorPrescriptionDataTable;
					theVw_DoctorPrescriptionDataTable = this.tablevw_DoctorPrescription;
					goto L_0009;
					
				L_0009:
					
					{
					}
					return theVw_DoctorPrescriptionDataTable;
				}
			}
			
		#endregion
		
		#region Methods
		
			public override DataSet Clone ()
			
			{
				dsDonThuoc theDsDonThuoc;
				DataSet theDataSet;
				theDsDonThuoc = ((dsDonThuoc) base.Clone ());
				theDsDonThuoc.InitVars ();
				theDataSet = ((DataSet) theDsDonThuoc);
				goto L_0016;
				
			L_0016:
				
				{
				}
				return theDataSet;
			}
			
			protected override XmlSchema GetSchemaSerializable ()
			
			{
				MemoryStream theMemoryStream;
				XmlSchema theXmlSchema;
				theMemoryStream = new MemoryStream ();
				base.WriteXmlSchema (((XmlWriter) new XmlTextWriter (((Stream) theMemoryStream), ((Encoding) null))));
				theMemoryStream.Position = 0L;
				theXmlSchema = XmlSchema.Read (((XmlReader) new XmlTextReader (((Stream) theMemoryStream))), ((ValidationEventHandler) null));
				goto L_002A;
				
			L_002A:
				
				{
				}
				return theXmlSchema;
			}
			
			private void InitClass ()
			
			{
				base.DataSetName = "dsDonThuoc";
				base.Prefix = "";
				base.Namespace = "http://www.tempuri.org/dsDonThuoc.xsd";
				base.Locale = new CultureInfo ("en-US");
				base.CaseSensitive = false;
				base.EnforceConstraints = true;
				this.tablevw_DoctorPrescription = new vw_DoctorPrescriptionDataTable ();
				base.Tables.Add (((DataTable) this.tablevw_DoctorPrescription));
				return;
			}
			
			internal void InitVars ()
			
			{
				this.tablevw_DoctorPrescription = ((vw_DoctorPrescriptionDataTable) base.Tables["vw_DoctorPrescription"]);
				if (this.tablevw_DoctorPrescription == null)
				{
					goto L_002E;
				}
				this.tablevw_DoctorPrescription.InitVars ();
				
			L_002E:
				return;
			}
			
			protected override void ReadXmlSerializable (XmlReader reader)
			
			{
				DataSet theDataSet;
				this.Reset ();
				theDataSet = new DataSet ();
				XmlReadMode theXmlReadMode = theDataSet.ReadXml (reader);
				if (theDataSet.Tables["vw_DoctorPrescription"] == null)
				{
					goto L_0046;
				}
				base.Tables.Add (((DataTable) new vw_DoctorPrescriptionDataTable (theDataSet.Tables["vw_DoctorPrescription"])));
				
			L_0046:
				
				{
				}
				base.DataSetName = theDataSet.DataSetName;
				base.Prefix = theDataSet.Prefix;
				base.Namespace = theDataSet.Namespace;
				base.Locale = theDataSet.Locale;
				base.CaseSensitive = theDataSet.CaseSensitive;
				base.EnforceConstraints = theDataSet.EnforceConstraints;
				base.Merge (theDataSet, false, MissingSchemaAction.Add);
				this.InitVars ();
				return;
			}
			
			private void SchemaChanged (object sender, CollectionChangeEventArgs e)
			
			{
				if (e.Action != CollectionChangeAction.Remove)
				{
					goto L_000F;
				}
				this.InitVars ();
				
			L_000F:
				return;
			}
			
			protected override bool ShouldSerializeRelations ()
			
			{
				bool theBoolean;
				theBoolean = false;
				goto L_0004;
				
			L_0004:
				
				{
				}
				return theBoolean;
			}
			
			protected override bool ShouldSerializeTables ()
			
			{
				bool theBoolean;
				theBoolean = false;
				goto L_0004;
				
			L_0004:
				
				{
				}
				return theBoolean;
			}
			
			private bool ShouldSerializevw_DoctorPrescription ()
			
			{
				bool theBoolean;
				theBoolean = false;
				goto L_0004;
				
			L_0004:
				
				{
				}
				return theBoolean;
			}
			
		#endregion
	}
	
}

